package com.bzkj.msfx.domain.relationMsfx;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

import java.util.List;

/**
 * @author C1309
 * @ClassName Batch
 * @description: TODO 生成xml文件的batch节点
 * @date 2023年10月19日
 * @version: 1.0
 */

public class BatchRelation {

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "Code")
    private List<CodeRelation> code;

    @JacksonXmlProperty(isAttribute = true)
    private String batchNo;

    @JacksonXmlProperty(isAttribute = true)
    private String madeDate;

    @JacksonXmlProperty(isAttribute = true)
    private String validateDate;

    @JacksonXmlProperty(isAttribute = true)
    private String workshop;

    @JacksonXmlProperty(isAttribute = true)
    private String lineName;

    @JacksonXmlProperty(isAttribute = true)
    private String lineManager;

    public List<CodeRelation> getCode() {
        return code;
    }

    public void setCode(List<CodeRelation> code) {
        this.code = code;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getMadeDate() {
        return madeDate;
    }

    public void setMadeDate(String madeDate) {
        this.madeDate = madeDate;
    }

    public String getValidateDate() {
        return validateDate;
    }

    public void setValidateDate(String validateDate) {
        this.validateDate = validateDate;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getLineManager() {
        return lineManager;
    }

    public void setLineManager(String lineManager) {
        this.lineManager = lineManager;
    }
}